package com.joy.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.joy.dao.entity.User;
import com.joy.dao.mapper.UserMapper;

@Service("userService")
public class UserService {

	@Autowired
	private UserMapper userMapper;

	public User selectById(Long id) {
		return userMapper.selectById(id);
	}
}
